/*
 * Demonstrates make_array and to_array
 * */
#include <cxxomfort/array.hpp>
#include <cxxomfort/library/type_name.hpp>
#include <cxxomfort/ostream.hpp>
#include <string>
#include <iostream>

static_assert (CXXO_IF___cpp_feature(__cpp_decltype), "test requires decltype");

int main () {
	using namespace std;
	auto arr= cxxomfort::make_array<int>(1, 2, 3, 4, 5) ;

    std::cout << "Returns: ";
    std::cout << cxxomfort::type_name<decltype(arr)>()<< endl;
}
